<script>
// 多个对象之间通过 __proto__ 链接起来的这种关系就是原型链

const arr = []
console.log(arr.__proto__ === Array.prototype)
console.log(Array.prototype.__proto__ === Object.prototype)
console.log(Object.prototype.__proto__)
console.log(arr.__proto__.__proto__ === Object.prototype);


function fn() {}
console.log(fn.__proto__ === Function.prototype)
console.log(Function.prototype.__proto__ === Object.prototype)
console.log(Function.__proto__ === Function.prototype)
</script>